package com.ltf.entity;

//排课表
public class Task {
    private Integer kid;
    private XUser user;   //拿教师ID
    private Clz clz;       //拿班级ID
    private Course course; //拿课程ID
    private Term term;     //拿学期ID

    public Task() {
        user=new XUser();
        clz=new Clz();
        course=new Course();
        term=new Term();
    }

    public Task(Integer kid, XUser user, Clz clz, Course course, Term term) {
        this.kid = kid;
        this.user = user;
        this.clz = clz;
        this.course = course;
        this.term = term;
    }

    public Integer getKid() {
        return kid;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public XUser getUser() {
        return user;
    }

    public void setUser(XUser user) {
        this.user = user;
    }

    public Clz getClz() {
        return clz;
    }

    public void setClz(Clz clz) {
        this.clz = clz;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Term getTerm() {
        return term;
    }

    public void setTerm(Term term) {
        this.term = term;
    }

    @Override
    public String toString() {
        return "Task{" +
                "kid=" + kid +
                ", xUser=" + user +
                ", clz=" + clz +
                ", course=" + course +
                ", term=" + term +
                '}';
    }
}
